Create a Script using AI
With the AI-powered script generation capability, you can generate scripts based on natural language prompts, modify existing scripts, and automate script properties.
To create a script using AI,
- Navigate to Libraries > Scripting.
- On the Scripting page, the Assistant tab to open the script editor assistant.
- Click New Chat to create a script using natural language.
- To create a new script, type a clear, specific prompt describing the script you want, and click Enter.
The Assistant analyzes your prompt and displays a plan for the script. - Review the plan and recommended settings populated by the Assistant:
- Script Name: Auto-generated based on the prompt.
- Description: Auto generated. It summarizes the script purpose.

NOTE: For existing scripts, if the description is not added, you can add it by clicking the Generate Description button.
- Operating System (OS): Selected based on prompt (Windows or macOS).
- Language: Auto-selected (PowerShell, Bash, and so on).
- Language Version: Defaults to latest supported version.
- Execution User Account: Defaults to current user.
- File Name: Suggested by AI.
- Dependencies: As specified in the prompt.
If not adding dependency while creating a script, you can add it later. See Adding Dependencies. - After reviewing the plan, prompt the Assistant to generate the script.
- Click Use Script and Apply Settings to insert the generated script and recommended settings.
- Review and modify any settings as needed.
- Click Save and Publish to publish the script or Save as Draft to save the script as a draft.
|
|
NOTE: Points to remember about a Session:
|